package com.sitc.street_lab_2013.entities;

public class Answer {

	private int ansQuestionId;
	private String ansText;
	private boolean ansIsCorrect;
	private String ansMoreInfo;
	private int answerId;
	
	public Answer() {}
	
	public Answer(int id, int qid, String text, int isCorrect, String moreInfo)
	{
		answerId = id;
		ansQuestionId = qid;
		ansText = text;
		ansIsCorrect = (isCorrect == 1? true: false);
		ansMoreInfo = moreInfo;
	}

	public int getAnswerId(){
		return answerId;
	}
	
	public int getAnsQuestionId() {
		return ansQuestionId;
	}

	public void setAnsQuestionId(int ansQuestionId) {
		this.ansQuestionId = ansQuestionId;
	}

	public String getAnsText() {
		return ansText;
	}

	public void setAnsText(String ansText) {
		this.ansText = ansText;
	}

	public boolean isAnsIsCorrect() {
		return ansIsCorrect;
	}

	public void setAnsIsCorrect(boolean ansIsCorrect) {
		this.ansIsCorrect = ansIsCorrect;
	}

	public String getAnsMoreInfo() {
		return ansMoreInfo;
	}

	public void setAnsMoreInfo(String ansMoreInfo) {
		this.ansMoreInfo = ansMoreInfo;
	}
	
}
